package homework;

public class Computer {public String brand;
    public int price;
    public String describe;
    public String view;

    public Computer (String brand,int price,String describe,String view){
        this.brand=brand;
        this.price=price;
        this.describe=describe;
        this.view=view;
    }
    public String getBrand(){
        return brand;
    }
    public void setBrand(String brand){
        this.brand=brand;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getView() {
        return view;
    }

    public void setView(String view) {
        this.view = view;
    }

    @Override
    public String toString() {
        return "Computer{" +
                "brand='" + brand + '\'' +
                ", price=" + price +
                ", describe='" + describe + '\'' +
                ", view='" + view + '\'' +
                '}';
    }
}




